/**
 * @projectName study-note
 * @package Bridge
 * @className Bridge.Test
 */
package Bridge;

/**
 * Test
 * @description 测试类
 * @author answer_wx
 * @date 2022/7/4 15:28
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        IOperate operateA = new OperateA();
        OperateB operateB = new OperateB();
        Product A = new ProductA(operateA);
        A.run();
        ProductB B = new ProductB(operateB);
        B.run();
    }
}